package com.linchaoen.elema.service;

import com.linchaoen.elema.model.entity.User;

import java.util.Map;

public interface UserService {


    int register(Map<String,String> userInfo);

    String findByPhoneAndPwd(String phone, String pwd);

    User findUserById(Integer id);

    int updateUserInfo(Integer uid, String name, String signature);

    int resetPwd(Integer uid, String oldPwd, String newPwd);
}
